Optimal. Leaf size=111 \[ -\frac {1}{16 a^3 c^3 \left (1+a^2 x^2\right )^2}+\frac {1}{16 a^3 c^3 \left (1+a^2 x^2\right )}-\frac {x \text {ArcTan}(a x)}{4 a^2 c^3 \left (1+a^2 x^2\right )^2}+\frac {x \text {ArcTan}(a x)}{8 a^2 c^3 \left (1+a^2 x^2\right )}+\frac {\text {ArcTan}(a x)^2}{16 a^3 c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 111, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {5054, 5012,
267} \begin {gather*} \frac {\text {ArcTan}(a x)^2}{16 a^3 c^3}+\frac {x \text {ArcTan}(a x)}{8 a^2 c^3 \left (a^2 x^2+1\right )}-\frac {x \text {ArcTan}(a x)}{4 a^2 c^3 \left (a^2 x^2+1\right )^2}+\frac {1}{16 a^3 c^3 \left (a^2 x^2+1\right )}-\frac {1}{16 a^3 c^3 \left (a^2 x^2+1\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 5012
Rule 5054
Rubi steps
\begin {align*} \int \frac {x^2 \tan ^{-1}(a x)}{\left (c+a^2 c x^2\right )^3} \, dx &=-\frac {1}{16 a^3 c^3 \left (1+a^2 x^2\right )^2}-\frac {x \tan ^{-1}(a x)}{4 a^2 c^3 \left (1+a^2 x^2\right )^2}+\frac {\int \frac {\tan ^{-1}(a x)}{\left (c+a^2 c x^2\right )^2} \, dx}{4 a^2 c}\\ &=-\frac {1}{16 a^3 c^3 \left (1+a^2 x^2\right )^2}-\frac {x \tan ^{-1}(a x)}{4 a^2 c^3 \left (1+a^2 x^2\right )^2}+\frac {x \tan ^{-1}(a x)}{8 a^2 c^3 \left (1+a^2 x^2\right )}+\frac {\tan ^{-1}(a x)^2}{16 a^3 c^3}-\frac {\int \frac {x}{\left (c+a^2 c x^2\right )^2} \, dx}{8 a c}\\ &=-\frac {1}{16 a^3 c^3 \left (1+a^2 x^2\right )^2}+\frac {1}{16 a^3 c^3 \left (1+a^2 x^2\right )}-\frac {x \tan ^{-1}(a x)}{4 a^2 c^3 \left (1+a^2 x^2\right )^2}+\frac {x \tan ^{-1}(a x)}{8 a^2 c^3 \left (1+a^2 x^2\right )}+\frac {\tan ^{-1}(a x)^2}{16 a^3 c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 64, normalized size = 0.58 \begin {gather*} \frac {a^2 x^2+2 a x \left (-1+a^2 x^2\right ) \text {ArcTan}(a x)+\left (1+a^2 x^2\right )^2 \text {ArcTan}(a x)^2}{16 a^3 c^3 \left (1+a^2 x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 105, normalized size = 0.95
method | result | size |
derivativedivides | \(\frac {\frac {\arctan \left (a x \right ) a^{3} x^{3}}{8 c^{3} \left (a^{2} x^{2}+1\right )^{2}}-\frac {a x \arctan \left (a x \right )}{8 c^{3} \left (a^{2} x^{2}+1\right )^{2}}+\frac {\arctan \left (a x \right )^{2}}{8 c^{3}}-\frac {\frac {\arctan \left (a x \right )^{2}}{2}-\frac {1}{2 \left (a^{2} x^{2}+1\right )}+\frac {1}{2 \left (a^{2} x^{2}+1\right )^{2}}}{8 c^{3}}}{a^{3}}\) | \(105\) |
default | \(\frac {\frac {\arctan \left (a x \right ) a^{3} x^{3}}{8 c^{3} \left (a^{2} x^{2}+1\right )^{2}}-\frac {a x \arctan \left (a x \right )}{8 c^{3} \left (a^{2} x^{2}+1\right )^{2}}+\frac {\arctan \left (a x \right )^{2}}{8 c^{3}}-\frac {\frac {\arctan \left (a x \right )^{2}}{2}-\frac {1}{2 \left (a^{2} x^{2}+1\right )}+\frac {1}{2 \left (a^{2} x^{2}+1\right )^{2}}}{8 c^{3}}}{a^{3}}\) | \(105\) |
risch | \(-\frac {\ln \left (i a x +1\right )^{2}}{64 c^{3} a^{3}}+\frac {\left (x^{4} \ln \left (-i a x +1\right ) a^{4}+2 a^{2} x^{2} \ln \left (-i a x +1\right )-2 i a^{3} x^{3}+\ln \left (-i a x +1\right )+2 i a x \right ) \ln \left (i a x +1\right )}{32 a^{3} c^{3} \left (a^{2} x^{2}+1\right )^{2}}-\frac {a^{4} x^{4} \ln \left (-i a x +1\right )^{2}+2 a^{2} x^{2} \ln \left (-i a x +1\right )^{2}-4 i a^{3} x^{3} \ln \left (-i a x +1\right )-4 a^{2} x^{2}+\ln \left (-i a x +1\right )^{2}+4 i a x \ln \left (-i a x +1\right )}{64 \left (a x +i\right )^{2} c^{3} \left (a x -i\right )^{2} a^{3}}\) | \(209\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 129, normalized size = 1.16 \begin {gather*} \frac {1}{8} \, {\left (\frac {a^{2} x^{3} - x}{a^{6} c^{3} x^{4} + 2 \, a^{4} c^{3} x^{2} + a^{2} c^{3}} + \frac {\arctan \left (a x\right )}{a^{3} c^{3}}\right )} \arctan \left (a x\right ) + \frac {{\left (a^{2} x^{2} - {\left (a^{4} x^{4} + 2 \, a^{2} x^{2} + 1\right )} \arctan \left (a x\right )^{2}\right )} a}{16 \, {\left (a^{8} c^{3} x^{4} + 2 \, a^{6} c^{3} x^{2} + a^{4} c^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.41, size = 83, normalized size = 0.75 \begin {gather*} \frac {a^{2} x^{2} + {\left (a^{4} x^{4} + 2 \, a^{2} x^{2} + 1\right )} \arctan \left (a x\right )^{2} + 2 \, {\left (a^{3} x^{3} - a x\right )} \arctan \left (a x\right )}{16 \, {\left (a^{7} c^{3} x^{4} + 2 \, a^{5} c^{3} x^{2} + a^{3} c^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {x^{2} \operatorname {atan}{\left (a x \right )}}{a^{6} x^{6} + 3 a^{4} x^{4} + 3 a^{2} x^{2} + 1}\, dx}{c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.47, size = 80, normalized size = 0.72 \begin {gather*} \frac {a^4\,x^4\,{\mathrm {atan}\left (a\,x\right )}^2+2\,a^3\,x^3\,\mathrm {atan}\left (a\,x\right )+2\,a^2\,x^2\,{\mathrm {atan}\left (a\,x\right )}^2+a^2\,x^2-2\,a\,x\,\mathrm {atan}\left (a\,x\right )+{\mathrm {atan}\left (a\,x\right )}^2}{16\,a^3\,c^3\,{\left (a^2\,x^2+1\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________